package larrys.pomodoro.domain.repository;

import larrys.pomodoro.domain.entity.PomodoroUser;

public interface UserRepository {

	PomodoroUser getUserByEmail(String userEmail);

	PomodoroUser getUserById(long id);

	/**
	 * @param newUser
	 * @return the addedUser(with id)
	 */
	PomodoroUser addUser(PomodoroUser newUser);

	void updateUser(PomodoroUser user);

	void markUserDeletedById(long id);
}
